filechooserentry: Correctly annotate a return value as (nullable)
authorTimm Bäder <tbaeder@redhat.com>
Fri, 24 May 2019 06:47:40 +0000 (08:47 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 27 May 2019 16:12:26 +0000 (18:12 +0200)
gtk/gtkfilechooserentry.c

index 56bd9e9b561b85167a6596dbb5375d8f024ac84b..ef193d1357e57ef0515e78cdf41bd976d467d1ed 100644 (file)
@@ -906,8 +906,9 @@ _gtk_file_chooser_entry_set_base_folder (GtkFileChooserEntry *chooser_entry,
  * be different.  If the user has entered unparsable text, or text which
  * the entry cannot handle, this will return %NULL.
  *
- * Returns: the file for the current folder - you must g_object_unref()
- *   the value after use.
+ * Returns: (nullable): the file for the current folder or %NULL if the
+ *   current folder can not be determined. Unref the file with
+ *   g_object_unref() after use.
  **/
 GFile *
 _gtk_file_chooser_entry_get_current_folder (GtkFileChooserEntry *chooser_entry)